package com.haidechizi.designpattern.singleton.hungry;

/**
 * @author haidechizi
 */
public class SimpleHungrySingleton {

    private SimpleHungrySingleton() {
    }

    // 静态变量
    private static final SimpleHungrySingleton lazySingleton = new SimpleHungrySingleton();

    public static final SimpleHungrySingleton getInstance() {
        return lazySingleton;
    }
}
